package com.css.fxfzypg.modules.similitudeAnalyse.repository;

import com.css.fxfzypg.modules.auxiliaryDecisionManage.auxiliaryDecision.vo.AreaResultVO;
import com.css.fxfzypg.modules.similitudeAnalyse.entity.*;
import com.css.fxfzypg.modules.similitudeAnalyse.param.QueParams;
import com.css.fxfzypg.modules.similitudeAnalyse.param.QueParams1;
import com.css.fxfzypg.modules.similitudeAnalyse.vo.SimAnaResultVo;

import java.util.List;
import java.util.Map;

public interface SimAnalyseRepository {
    int save(SimAnaResult simAnaResult);

    Map<String, Object> getPage(QueParams1 queParams, int curPage, int pageSize);

    SimAnaResult fingById(String id);

    void deleteAllData();

    void saveRealEarthquake(RealEarthquakeEntity entity);
    void saveRealSeismicInfluenceflied(RealSeismicInfluenceflyPbe entity);
    void saveinfluenceflyList(List<RealSeismicInfluenceflied> influenceflyList);

    void delRealEarthquake(String cataId);

    RealEarthquakeEntity getById(String cataId);

    /**
     * 获取最新的一条结果数据
     */
    String getNewestSimAnaResultId();

    int saveRealEqDisaster(RealEqDisaster realEqDisaster);

    void delRealSeismicInfluencefliedPbe(String cataId);
    void delRealSeismicInfluenceflied(String cataId);

    List<RealSeismicInfluenceflied> getRealSeismicInfluenceflied(String cataId, String dzIntensity);

    List<AreaResultVO> getAreaMessage(String cataId, String codePrefix, List<String> dzIntensity);

    List<RealEarthquakeEntity> getByall();
}
